Pod::Spec.new do |s|
  s.name             = 'WeiLib'
  s.version          = '0.3.6'
  s.summary          = 'Personal lib of weiwei.'
  s.homepage         = 'https://git.oschina.net/weiwei.wu/WeiLib.git'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { '吴威威' => 'wuww@kingnet.com' }
  s.source           = { :git => 'https://git.oschina.net/weiwei.wu/WeiLib.git', :tag => s.version.to_s }
  s.requires_arc = true
  s.ios.deployment_target = '7.0'
  s.frameworks = 'UIKit', 'MapKit'
  s.source_files = 'WeiLib/WEICommon.h','WeiLib/BaseClass/**/*'

  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  # s.default_subspec = 'standard' 
  # ss.exclude_files = 'src/fmdb.m'
  #################################### subspec
  s.subspec 'PureCategory' do |pureCategory|
      pureCategory.source_files = 'WeiLib/Category/**/*','WeiLib/WEICategory.h','WeiLib/WEIMacro.h'
  end
  s.subspec 'Vendor' do |vendor|
      vendor.source_files = 'WeiLib/WEIVendor.h','WeiLib/Vendor/**/*'
      vendor.dependency 'Masonry', '~> 1.0.1'
      vendor.dependency 'BlocksKit', '~> 2.2.5'
      vendor.dependency 'AFNetworking', '~> 3.1.0'
      vendor.dependency 'SDWebImage', '~> 3.8.1'
      vendor.dependency 'YYCache', '~> 1.0.3'
      vendor.dependency 'MBProgressHUD', '~> 1.0.0'
      vendor.dependency 'ReactiveCocoa', '~> 2.5'
      vendor.dependency 'RealReachability', '~> 1.1.7'
      vendor.dependency 'CocoaLumberjack', '~> 2.3.0'
  end

end
